package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"video/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/video/add", &controllers.VideoController{}, "post:Add")
	beego.Router("/video/list", &controllers.VideoController{}, "*:List")
}
